<?php
namespace Admin\Controller;

/**
 * 行为控制器
 * @author huajie <banhuajie@163.com>
 */
class ShopController extends AdminController {

    public function index(){
        $goods=M('goods');
        $res=$goods->select();
        $this->assign('res',$res);
        dump($goods->getlastsql());
        $this->display();
    }

    public function add(){
        $this->display();
    }

    public function edit(){
        $this->display();
    }


}